package com.lengyue.imakiba.data;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

public class Type extends Model<Type>{
	public static final Type dao = new Type();
	public List<Anime> getAnime()
	{
		return Anime.dao.find("select a.* from anime a inner join anime_type at on at.anime_id = a.id where at.type_code = ?",get("type_code"));
	}
}
